﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dota2NetworkTester
{
    [Serializable]
    class Server
    {
        public string name;
        public string ip;
        public string region;

        public Server(string name, string ip, string region)
        {
            this.name = name;
            this.ip = ip;
            this.region = region;
        }
        public Server()
        {
        }
        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        public string IP
        {
            get
            {
                return ip;
            }
            set
            {
                ip = value;
            }
        }

        public string Region
        {
            get
            {
                return region;
            }
            set
            {
                region = value;
            }
        }

        public override string ToString()
        {
            return name ;
        }
    }
}